/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package escom.ipn.modelo.facade;

import com.mysql.jdbc.Connection;
import escom.ipn.modelo.dao.adminTipoUsuarioDAO;
import escom.ipn.modelo.dto.tipoUsuarioClass;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author db2admin
 */
public class adminTipoUsuarioFacade {
    
    
    private Connection cnn;
    private adminTipoUsuarioDAO dao;

    public adminTipoUsuarioFacade(java.sql.Connection cnn) {
        this.cnn=(Connection) cnn;
        dao= new adminTipoUsuarioDAO();
    }
    
    public List getUsuarioNOMBRE(tipoUsuarioClass a) throws SQLException {
        return dao.getUsuarioNOMBRE(a,cnn);
    }
    
    public List getUsuarioID(tipoUsuarioClass a) throws SQLException {
        return dao.getUsuarioID(a,cnn);
    }
    
    
    
}
